﻿@Imports Microsoft.Samples.WindowsPhoneCloud.Web.UserAccountWrappers
@Code
    ViewData("Title") = "Home"
End Code
<h2>@ViewData("Message")</h2>
<h3>
    Welcome to the administration site for the Mobile Cloud Application Services!
</h3>
@If MembershipHelper.IsUserLoggedIn() Then
    If MembershipHelper.IsUserAdmin() Then
    @<p>
        Select an option from the menu to manage users' permissions and send Push Notifications
        to mobile devices.
    </p>
    End If
Else
    @<p>
        Click @( Html.ActionLink("Log On", "LogOn", "Account"))
        to authenticate.
    </p>
End If
